package com.boarsoft.boar.batch.bean;

public class PageInfo {
	protected int no;
	protected Object begin;
	protected Object end;

	public PageInfo(int no, Object begin, Object end) {
		this.no = no;
		this.begin = begin;
		this.end = end;
	}

	@Override
	public String toString() {
		return new StringBuilder(no).append(":").append(begin)//
				.append("~").append(end).toString();
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public Object getBegin() {
		return begin;
	}

	public void setBegin(Object begin) {
		this.begin = begin;
	}

	public Object getEnd() {
		return end;
	}

	public void setEnd(Object end) {
		this.end = end;
	}

}
